//
//  SQDiscoverViewController.swift
//  SwiftWeibo
//
//  Created by suqianghotel on 16/11/14.
//  Copyright © 2016年 suqianghotel. All rights reserved.
//

import UIKit

class SQDiscoverViewController: SQBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    
    override func setupVisitorView() {
//        super.setupVisitorView()
        let registerItem = UIBarButtonItem(title:"注册",
                                           colorHighlight: UIColor.gray,
                                           colorNormal : UIColor.orange,
                                           target:self,
                                           action:#selector(SQHomeViewController.register))
        self.navigationItem.leftBarButtonItems = [UIBarButtonItem.space, registerItem]
        
        let loginItem = UIBarButtonItem(title:"登录",
                                        colorHighlight: UIColor.gray,
                                        colorNormal: UIColor.orange,
                                        target:self,
                                        action:#selector(SQHomeViewController.login))
        self.navigationItem.rightBarButtonItems = [UIBarButtonItem.space, loginItem]
        
        
        
    }

}
